<?php  
require_once($_SERVER['DOCUMENT_ROOT'].'/mpd/config/config.php');

if (isset ($_POST ['hapus']))
{  
	
	$id = key ($_POST['hapus']);

	
    $query=("DELETE FROM performance_history WHERE ID_PERFORMANCE=".$id);   
    mysql_query($query); 
	
header('Location: /mpd/dh/sdm/view/performance.php');
}
?>